#define _CRT_SECURE_NO_WARNINGS
#include <iostream>

using namespace std;

namespace cx
{
	int a = 3;
}

int a = 2;

void Add(int a, int b)
{
	cout << a + b << endl;
}

void Add(double a, double b)
{
	cout << a + b << endl;
}

int x = 3;

void Fun(int a, double b = x)
{
	cout << a + b << endl;
}

int main()
{
	//cout << "hehe" << endl;
	/*int a = 1;
	cout << a << endl;
	cout << ::a << endl;
	cout << cx::a << endl;*/
	double a = 3.5;
	Add(1, 2);
	Add(1.1, 2.2);
	Fun(1, a);
	return 0;
}